import Vue from "vue";
import {
  Button,
  Select,
  Card,
  Input,
  Radio,
  RadioGroup,
  Form,
  FormItem,
  Message,
  Notification,
  Container,
  Header,
  Main,
  Footer,
  Aside,
  Row,
  Col,
  Menu,
  MenuItem,
  MenuItemGroup,
  Submenu,
  PageHeader,
} from "element-ui";
Vue.use(Button);
Vue.use(Select);
Vue.use(Card);
Vue.use(Input);
Vue.use(RadioGroup);
Vue.use(Radio);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Container);
Vue.use(Aside);
Vue.use(Header);
Vue.use(Main);
Vue.use(Footer);
Vue.use(Row);
Vue.use(Col);
Vue.use(Menu);
Vue.use(MenuItem);
Vue.use(Submenu);
Vue.use(MenuItemGroup);
Vue.use(PageHeader);
//这样可以防止每次刷新之后会重复跳出
Vue.component(Message.name, Message);
Vue.component(Notification.name, Notification);
Vue.prototype.$message = Message;
Vue.prototype.$notify = Notification;
